<template>
  <div>
    <el-container>
      <el-header>
        <Header/>
      </el-header>
      <el-container>
        <el-aside width="200px">
          <AdminNavigate/>
        </el-aside>
        <el-main>
          <router-view>

          </router-view>
        </el-main>
      </el-container>
    </el-container>
    <el-footer height="417.5px"></el-footer>
  </div>
</template>

<script>
import Header from "../Header";
import AdminNavigate from "@/components/Navigate/AdminNavigate.vue";
export default {
  name: "Adminhome",
  components: {Header, AdminNavigate}
}
</script>

<style scoped>
.el-header, .el-footer {
  background-color: #ffde7c;
  color: #333;
  /*text-align: center;*/
  line-height: 60px;
  font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;
}

.el-aside {
  background-color: rgb(52,55,68);
  color: #333;
  text-align: center;
  line-height: 200px;
  font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;
}

.el-main {
  background-color: #E9EEF3;
  color: #333;
  font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;
  //text-align: center;
  //line-height:180px;
}

body > .el-container {
  margin-bottom: 40px;
}

.el-container:nth-child(5) .el-aside,
.el-container:nth-child(6) .el-aside {

  line-height: 260px;
}

.el-container:nth-child(7) .el-aside {
  line-height: 320px;
}
</style>